<template>
  <div class="home" style="width: 1200px; margin: 0 auto">
    <TheHeader></TheHeader>
    <div style="display: flex" class="credit-index-main">
      <TheLeft></TheLeft>
      <router-view />
    </div>
    <TheBottom></TheBottom>
    <!-- <img alt="Vue logo" src="../assets/logo.png" /> -->
    <!-- <HelloWorld msg="Welcome to Your Vue.js App" /> -->
  </div>
</template>

<script>
import TheHeader from "@/components/TheHeader.vue";
import TheBottom from "@/components/TheBottom.vue";
import TheLeft from "@/components/TheLeft.vue";
export default {
  name: "home",
  components: {
    TheHeader,
    TheBottom,
    TheLeft
  },
  data() {
    return {
      imgList: [
        {
          imgUrl: require("@/assets/images/nezha01.jpg")
        },
        {
          imgUrl: require("@/assets/images/nezha02.jpg")
        },
        {
          imgUrl: require("@/assets/images/nezha03.jpg")
        }
      ]
    };
  },
  created() {
    window.sa.track("$pageview", {
      $url_path: "creditIndex"
    });
  }
};
</script>
<style scoped>
.credit-index-main {
  justify-content: space-around;
  margin-bottom: 10px;
}
</style>
